import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 修改根节点字体大小
import 'lib-flexible'

// 初始化样式 放在 其他样式 之前
import './common/style/base.scss'

// import { QC }  from '@/libs/qc_jssdk.js'

import {
  Tabbar, TabbarItem, Icon, Swipe, SwipeItem, Col, Row, Grid, GridItem,
  TreeSelect, GoodsAction, GoodsActionIcon, GoodsActionButton, Sku, Field,
  Toast, SwipeCell, Card, Button, Checkbox, Stepper, SubmitBar, Divider, PullRefresh, List, Dialog
} from "vant";
Vue.use(Tabbar).use(TabbarItem).use(Icon);
Vue.use(Swipe).use(SwipeItem);

Vue.use(Col).use(Row);
// Grid 宫格
Vue.use(Grid).use(GridItem)

Vue.use(TreeSelect)

// GoodsAction 商品导航
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);

// Sku 商品规格
Vue.use(Sku);

// Field 输入框
Vue.use(Field);

// Toast 轻提示
Vue.use(Toast);

// SwipeCell 滑动单元格
Vue.use(SwipeCell)

Vue.use(Card).use(List).use(PullRefresh).use(Dialog)
Vue.use(Button).use(Checkbox).use(Stepper).use(SubmitBar).use(Divider)

Vue.config.productionTip = false;

// 引入 全局 字体图标样式
import './assets/iconfont/iconfont.css'

// 全局挂载 QQ
// Vue.prototype.$QQ = QC

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
